function main()

    option_test = 'index';
    %option_test = 'portfolio';

    %market_code = [];
    market_code = {'VNINDEX'};
    %market_code = {'HNXINDEX'};
    
    number_of_stocks = [];
    
    stock_codes = [];
    porfolio_weights = [];
    
    risk_free = 0;
    cost = 0.03;
    short_MA_length = [1];
    long_MA_length = [50 150 200];
    band = [0 0.01];
    
    test_option = 's';
    %test_option = 'e';
    
    testTotal(option_test, market_code, number_of_stocks, stock_codes, porfolio_weights, ...
                            risk_free, cost, short_MA_length, long_MA_length, band, test_option);   
    
end